/*
 * Decompiled with CFR 0.150.
 * 
 * Could not load the following classes:
 *  com.alibaba.fastjson.JSON
 */
package com.gys.common.business;

import com.alibaba.fastjson.JSON;
import com.gys.common.data.HttpJson;
import com.gys.common.util.ConstUtil;
import com.gys.common.util.HttpClientUtil;
import com.gys.data.productSortSetting.GetProductInData;
import com.gys.data.returnDepot.GetDepotInData;

public class DepotUtil {
    public static HttpJson selectList(GetDepotInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/depot/list", JSON.toJSONString(param));
    }

    public static HttpJson detail(GetDepotInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/depot/detail", JSON.toJSONString(param));
    }

    public static HttpJson queryDetail(GetDepotInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/depot/detailList", JSON.toJSONString(param));
    }

    public static HttpJson insert(GetDepotInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/depot/insert", JSON.toJSONString(param));
    }

    public static HttpJson update(GetDepotInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/depot/update", JSON.toJSONString(param));
    }

    public static HttpJson approve(GetDepotInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/depot/approve", JSON.toJSONString(param));
    }

    public static HttpJson queryPro(GetProductInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/depot/queryPro", JSON.toJSONString(param));
    }

    public static HttpJson exportIn(GetDepotInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/depot/exportIn", JSON.toJSONString(param));
    }

    public static HttpJson getPoDetail(GetDepotInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/depot/getPoDetail", JSON.toJSONString(param));
    }
}

